package com.mill.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

import com.mill.mapper.BookMapper;
import com.mill.model.Book;

@Service
public class BookService {
	private static Logger logger = Logger.getLogger(BookService.class);
	
	@Resource
	private BookMapper bookMapper;
	
	public List<Book> findall() {
		return bookMapper.findall();
	}
}
